'use strict'

class getmyself {
  constructor() {
    this.param = '/'
  }

  async get(c) {
    const userid = c.box.user.id
    let ret = await c.service.psql.query(`select * from manage where manage_account like '${userid}' order by manage_id asc`)
    c.status(200).send(ret.rows)
  }

}

module.exports = getmyself
